import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const TokenStore = defineStore('token', () => {
  const token = ref('TEMP-TOKEN')

  function setToken(t) {
    token = t
  }

  return { token , setToken }
})
